// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.audio.parameters;

import zombie.audio.FMODLocalParameter;
import zombie.vehicles.BaseVehicle;

public class ParameterVehicleGear extends FMODLocalParameter {
    private final BaseVehicle vehicle;

    public ParameterVehicleGear(BaseVehicle _vehicle) {
        super("VehicleGear");
        this.vehicle = _vehicle;
    }

    @Override
    public float calculateCurrentValue() {
        return (float)(this.vehicle.getTransmissionNumber() + 1);
    }
}
